<template>
	<view class="main">
		<view id="content">
			<view class="banner">
				<image src="@/static/webanner.png" mode="widthFix"></image>
			</view>
			<view class="we">
				<view class="title">
					联系我们
				</view>
				<view class="wx">
					<image src="@/static/phone.svg" mode=""></image>
					<text @click="phone">电话：{{tel}}</text>
				</view>
			</view>
			<view class="we">
				<view class="title">
					工作时间
				</view>
				<view class="wx">
					<image src="@/static/worktime.svg" mode=""></image>
					<text>周一到周五：9:30-18:00</text>
				</view>
			</view>
		</view>

	</view>
</template>

<script>
	export default {
		data(){
			return{
				tel:'19016965336'
			}
		},
		methods: {
			phone() {
				uni.showModal({
					title: '温馨提示',
					content: '联系客服',
					success: (res) => {
						if (res.confirm) {
							uni.makePhoneCall({
								phoneNumber: this.tel
							});
						}
					}
				})
			},
		},
	}
</script>

<style lang="less" scoped>
	@import url("./We.less");
</style>